# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=font-monocraft
pkgver=4.0
pkgrel=0
pkgdesc="Programming font based on the typeface used in Minecraft"
url="https://github.com/IdreesInc/Monocraft"
arch="noarch"
license="OFL-1.1"
source="Monocraft-$pkgver.zip::https://github.com/IdreesInc/Monocraft/releases/download/v$pkgver/Monocraft-ttf-otf.zip"
builddir="$srcdir/other-formats"
options="!check" # is font

package() {
	install -Dm644 -t "$pkgdir"/usr/share/fonts/monocraft/ \
		Monocraft.otf \
		weights/otf/*.otf
}

sha512sums="
a9afdddf33058d23488a57563ebcbc61e7350b0a7cf79297db0186aef373d6ef22dd5a85842640c4c9bfd5a70216c0430201f8eb9b645c0caba43b5db7e9312e  Monocraft-4.0.zip
"
